package com.lanou.elh.sysmanage.authority_management.service;

import com.lanou.elh.sysmanage.authority_management.entity.Role;
import com.lanou.elh.sysmanage.authority_management.entity.RolePerm;

import java.util.List;

public interface RoleService {


    void addPerm(Role role,RolePerm rolePerm,Integer[]rolePermid);

    void deleteRoleById(Integer id);

    void deletePermById(Integer id);

    void deleteInBatchesRoleById(Integer[] id);

    void deleteInBatchesPermById(Integer[] id);

    void updateRoleById(Role role,RolePerm rolePerm,Integer[]rolePermid);

    List<Role> selectRole();
}
